*{padding: 0;margin: 0;}
ul,li{list-style: none;}


/* body */
body{
    background: rgb(247, 235, 235);
}

/* 非公用 */
/* 三个内容区 */
.container{
    margin-left: 70px;
    display: flex;
}

.container .glass-wrapper{
    width: 400px    ;
}
.container .glassrightall{
    width: 516px;
}
.container .glass-right{
    width: 516px;
}
.container .cart-wrapper{
    width: 362px;
}
/* .container */

/* 放大镜区 */
.glass-wrapper .container{
    width: 1000px;
    margin: 20px auto;
    display: flex;
}

.glass-wrapper .container .m-left{
    position: relative;
    width: 350px;
    height: 350px;
}
.glass-wrapper .container .m-left img{
    width: 100%;
    height: 100%;
}
.glass-wrapper  .container .m-left ol{
    position: relative;
    width: 100%;
    height: 100%;
}
.glass-wrapper  .container .m-left ol li{
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}
.glass-wrapper  .container .m-left ol .on{
    display: block;
}
.glass-wrapper  .container .m-left .mask{
    width: 200px;
    height: 200px;
    background-color: rgba(219, 219, 109, 0.6);
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    display: none;
}
.glass-wrapper  .container ul{
    display: flex;
    justify-content:space-around;
}
.glass-wrapper  .container ul li img{
    width: 80px;
    height: 80px;
}
.glass-wrapper .container ul .active{
    border: 1px solid red;
}

.glass-wrapper  .container .right-wraper{
    position: relative;
    width: 400px;
    height: 400px;
    /* border: 2px solid gray; */
    overflow: hidden;
    margin-left: 20px;
    display: none;
}
.glass-wrapper  .container .right-wraper img{
    position: absolute;
    left: 0;
    top: 0;
}

/* 按钮 */
.btnBox{
    margin-top: 50px;
    padding-left: 20%;
}
.glassrightall button{
    width: 100px;
    height: 40px;

    border: none;
    outline: none;
    text-align: center;
    line-height: 40px;
    color: white;
}
.glassrightall .look-cart{
    background-color: red;
}
.glassrightall .add-cart{
    background-color: green;
}
.glassrightall button:hover{
    cursor: pointer;
}

/* 右侧商品信息区 */
.textarea{
    font-size: 30px;
    margin-bottom: 100px;
}
.sp1 {
    width: 50px;
    text-align: center;
    background: red;
    color: white;
    border-radius: 5px;
}
.sp2{
    position: relative;
}
.sp3{
    color: red;
    font-weight: bold;
    font-size: 28px;
}
.sp4 {
    position: relative;
    left: 80px;
    color: blue;
    z-index: -999;
}
.sp5 {
    border: 1px solid red;
    color: red;
    font-size: 16px;
    position: relative;
    top: 10px;
}
.sp2,
.sp5 {
    float: right;
    left: -10px;
}
.sp1,
.sp3 {
    left: 10px;
}


/* 公用 */
/* 头部区域 */
.header {
    width: 1200px;
    margin-top: 20px;
    text-align: right;
    display: flex   ;
    justify-content: space-between;
    padding-left: 100px;
}

.header button {
    width: 100px;
    height: 40px;
    border: none;
    outline: none;
    text-align: center;
    line-height: 40px;
    color: white;
}
.header .sign{
    background-color: red;
}
.header .login{
    background-color: green;
}
.header button:hover{
    cursor: pointer;
}

/* 头部三个区 */
.header .logo{
    width: 250px;
    margin-right: 25px;
}
.header .logo img{
    width: 80px;
    height: 80px;
}
.header .logo span{
    vertical-align: top;
    line-height: 80px;
    font-size: 30px;
    color: brown;
}
.header .search{
    width: 520px;
    margin-right: 25px;
}
.header .search input{
    height: 48px;
    width: 520px;
    border: none;
    border: 2px solid black;
    border-radius: 30px;
    margin-top: 20px;
    
}
.header .nav{
    margin-top: 10px;
    width: 200px;
    text-align: center;
    display: flex;
    justify-content: space-around;
}
.header .nav span{
    display: block;
    
}
.header .nav span img{
    width: 40px;
    height: 40px;
}
.header .wraper{
    margin: 12px;
    display: flex;
    padding-top: 20px;
}
/* 导航区 */
#nav{
    padding-left: 70px;
    height: 60px;
    background: rgb(75, 23, 23);
    color: white;
}
#nav ul{
    display: flex;
}
#nav ul li{
    width: 210px;
    line-height: 60px;
    font-size: 18px;
    text-align: center;
}
#nav ul li:hover{
    background: #f0d955;
    color: black;
}
#nav ul .chosed{
    background: #f0d955;
    color: black;
}

/* 底部 */
#footer{
    /* height: 370px; */
    background: #202020;
    color: #959595;
    margin-bottom: 10px;

}
.foot_inner{
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.foot_inner ul{
    width: 300px;
}
.foot_inner ul:nth-of-type(1) li{
    padding: 20px 0;
    border-bottom: 1px dashed #303030;
}
.spanbox{
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    width: 280px;
    margin-top: 20px;
}
.spanbox span{
    border: 1px solid #303030;
    padding: 5px;
    margin-right: 10px;
    margin-bottom: 7px;
}
.foot_inner ul:nth-of-type(3) li{
    padding: 20px 0;
    border-bottom: 1px dashed #303030;
}
.foot_inner ul h3{
    position: relative;
    font-size: 24px;
    border-bottom: 1px solid #ebebeb;
    color: #fff;
}
.foot_inner ul h3::after{
    position: absolute;
    content: "";
    bottom: -1px;
    left: 0;
    height: 1px;
    width: 90px;
    background: #e67e22;
}
/* 版权 */
#copyright{
    background: #111111;
}
.copyright_inner{
    height: 80px;
    border-top: 1px solid #666;
    text-align: center;
    font-size: 16px;
    color: #465555;
    line-height: 80px;
}


